<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>

<body>
<table border="1" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111">
   <tr align="center">
		<th>收款人姓名</th>
		<th>收款人帐号</th>
		<th>金额</th>
		<th>用途</th>
		<th>开户行</th>
   </tr>
   {[foreach name=outer key=key item=item from=$result]}
   {[assign var="no" value="`$key+1`"]}
   {[if $item.payment_x->name neq '']}
   <tr align="center">
		<td>{[$item.payment_x->name]}</td>		
		<td style="mso-number-format:'\@'">{[$item.payment_x->code|replace:" ":""]}</td>
		<td>{[$item.amount|money]}</td>
		<td>报销 {[$item.id]}</td>
		<td>{[$item.bank.bank]}{[$item.bank.branch]}</td>
	</tr>
	{[/if]}
	{[/foreach]}
</table>

</body>
</html>